package com.github.qingcheng.mapper;

import com.github.qingcheng.pojo.Brand;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 品牌持久层
 * @author GY
 * @version V1.0
 * @date 2025-01-21 08:44
 */
@Mapper
public interface BrandMapper {


    List<Brand> findPage(Brand brand);

    void add(Brand brand);

    void delete(Integer id);

    Brand findById(@Param("id") Integer id);

    void update(Brand brand);
}
